package com.team.six.bluecatshop.service;

import com.team.six.bluecatshop.domain.Indent;
import com.team.six.bluecatshop.domain.SeachIndentResponse;

import java.util.List;

public interface IndentService {
    /*
     * 增加修改一个订单
     * */
    public void add(Indent indent) ;

    /**
     * 删除一个订单
     * */
    public void remove(String id) ;

    /**
     * 获得一个订单
     * */
    public Indent findById(String id) ;


    /**
     * 获得订单列表
     * */
    public List<Indent> findAll() ;

    public List<Indent> findByCustomerIdAndIdentify1(String id);

    public List<Indent> findByCustomerIdAndIdentify0(String id);

    public void updateByPrimaryKey(Indent indent);

    void updateIndentByIndentId(Indent indent);

//    SeachIndentResponse findIndentAll(Integer pageNum, Integer pageSize, String keyword);

    SeachIndentResponse findIndentAll(Integer pageNum, Integer pageSize);
}
